s=input()
arr=s.split(' ')
ave=0
sum=0
for i in arr:
    sum+=eval(i)
    ave+=1
ave=sum/ave
for i in arr:
    if eval(i)>ave:
        print(i,end=' ')